Skip to content

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Sep 5, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

heiher and others added 12 commits August 21, 2025 18:00
This commit is an extension of previous libstd support but applied to stdio
specifically. The stdio routines are updated away from WASIp1 APIs to using
WASIp2 APIs natively. The end goal is to eventually drop the dependency on
WASIp1 APIs in the standard library entirely in favor of exclusively depending
on WASIp2.
add exact bitshifts

Tracking issue: rust-lang#144336

cc ``@lolbinarycat``
Fix LoongArch C function ABI when passing/returning structs containing floats

Similar to RISC-V, LoongArch passes structs containing only one or two floats (or a float–integer pair) in registers, as long as each element fits into a single corresponding register. Before this PR, Rust did not check the actual offset of the second float or integer; instead, it assumed the standard offset based on the default alignment. However, since the offset can be affected by `#[repr(align(N))]` and `#[repr(packed)]`, this led to miscompilations (see rust-lang#145692). This PR fixes the issue by explicitly specifying the offset for the remainder of the cast.
…float_tests, r=tgross35

Unify and deduplicate algebraic float tests

cc rust-lang#141726

This is a proposal to unify and deduplicate the algebraic tests for f16, f32, f64 and f128
Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools

For my purposes, contains fixes when compiling the Rust compiler for Arm64EC.

Checked the commits since 1.2.16, and I don't see anything else that may affect Rust?

`find-msvc-tools` was also factored out from `cc` to allow updating the use in `rustc_codegen_ssa` (finding the linker when running the Rust compiler) to be separate from the use in `rustc_llvm` (building LLVM as part of the Rust compiler).
std: Implement WASIp2-specific stdio routines

This commit is an extension of rust-lang#145944 but applied to stdio specifically. The stdio routines are updated away from WASIp1 APIs to using WASIp2 APIs natively. The end goal is to eventually drop the dependency on WASIp1 APIs in the standard library entirely in favor of exclusively depending on WASIp2.
…iler-errors

fix ICE when suggesting `::new`

fixes rust-lang#146174

This code suggests to write `Foo::new(...)` when the user writes `Foo(...)` or `Foo { ... }` and the constructor is private, where `new` is some associated function that returns `Self`.

When checking that the return type of `new` is `Self`, we need to instantiate the parameters of `new` with infer vars, so we don't end up with a type like `Box<$param(0)>` in a context that doesn't have any parameters. But then we can't use `normalize_erasing_late_bound_regions` anymore because that goes though a query that can't deal with infer vars.

Since this is diagnostic-only code that is supposed to check for exactly `-> Self`, I think it's fine to just skip normalizing here, especially since The Correct Way<sup>TM</sup> would involve a probe and make this code even more complicated.

Also, the code here does almost the same thing, and these suggestions can probably be unified in the future: https://github.com/rust-lang/rust/blob/4ca8078d37c53ee4ff8fb32b4453b915116f25b8/compiler/rustc_hir_typeck/src/method/suggest.rs#L2123-L2129

r? ```@compiler-errors```
cc ```@Qelxiros``` -- this should unblock rust-lang#144420
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Sep 5, 2025
@tgross35
Copy link
Contributor Author

tgross35 commented Sep 5, 2025

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Sep 5, 2025

📌 Commit 3baf985 has been approved by tgross35

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 5, 2025
bors added a commit that referenced this pull request Sep 5, 2025
Rollup of 6 pull requests

Successful merges:

 - #144342 (add exact bitshifts)
 - #145709 (Fix LoongArch C function ABI when passing/returning structs containing floats)
 - #146152 (Unify and deduplicate algebraic float tests)
 - #146186 (Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools)
 - #146207 (std: Implement WASIp2-specific stdio routines)
 - #146217 (fix ICE when suggesting `::new`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
Copy link
Collaborator

bors commented Sep 5, 2025

⌛ Testing commit 3baf985 with merge 5c6570c...

@rust-log-analyzer
Copy link
Collaborator

The job dist-aarch64-linux failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] tracing_tree test:false 0.715
[RUSTC-TIMING] pulldown_cmark test:false 5.589
   Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
[RUSTC-TIMING] build_script_build test:false 0.301
warning: [email protected]+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7: Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
error: failed to run custom build command for `tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/release/build/tikv-jemalloc-sys-34b465f48c0d5891/build-script-build` (exit status: 101)
  --- stdout
  TARGET=aarch64-unknown-linux-gnu
  HOST=aarch64-unknown-linux-gnu
  NUM_JOBS=8
  OUT_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out"
  BUILD_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build"
  SRC_DIR="/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_OVERRIDE
  cargo:rerun-if-env-changed=JEMALLOC_OVERRIDE
  OPT_LEVEL = Some(3)
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out)
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu
  CC_aarch64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu
  CC_aarch64_unknown_linux_gnu = Some(sccache clang)
  cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
  CC_KNOWN_WRAPPER_CUSTOM = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(false)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  CARGO_ENCODED_RUSTFLAGS = Some(--cfg=windows_raw_dylib-Csymbol-mangling-version=v0-Zunstable-options--check-cfg=cfg(bootstrap)--check-cfg=cfg(llvm_enzyme)-Zmacro-backtrace-Csplit-debuginfo=off-Clink-args=-Wl,-z,origin-Clink-args=-Wl,-rpath,$ORIGIN/../lib-Clinker-features=+lld-Zunstable-options-Alinker-messages-Zon-broken-pipe=kill-Zdefault-visibility=protected-Zdylib-lto-Clto=thin-Cembed-bitcode=yes-Clink-args=-Wl,--icf=all-Cprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo-Cllvm-args=-vp-counters-per-site=4-Cllvm-args=-static-func-strip-dirname-prefix=2)
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  cargo:warning=Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  CC="clang"
  CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46"
  JEMALLOC_REPO_DIR="jemalloc"
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_MALLOC_CONF
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_MALLOC_CONF
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_PAGE
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_PAGE
  --with-lg-page=16
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_HUGEPAGE
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_HUGEPAGE
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_QUANTUM
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_QUANTUM
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_VADDR
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_VADDR
  CARGO_FEATURE_STATS not set
  running: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build" && CC="clang" CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46" CPPFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46" LDFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46" "sh" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build/configure" "--with-version=5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-lg-page=16" "--with-private-namespace=_rjem_" "--disable-stats" "--host=aarch64-unknown-linux-gnu" "--build=aarch64-unknown-linux-gnu" "--prefix=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out"
  checking for xsltproc... false
  checking for aarch64-unknown-linux-gnu-gcc... clang
  checking whether the C compiler works... no
  running: "tail" "-n" "100" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build/config.log"
  XSLROOT=''
  XSLTPROC='false'
  a=''
  abi=''
  abs_objroot='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build/'
  abs_srcroot='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build/'
  ac_ct_CC=''
  ac_ct_CXX=''
  bindir='${exec_prefix}/bin'
  build='aarch64-unknown-linux-gnu'
  build_alias='aarch64-unknown-linux-gnu'
  build_cpu=''
  build_os=''
  build_vendor=''
  cfghdrs_in=''
  cfghdrs_out=''
  cfgoutputs_in=''
  cfgoutputs_out=''
  datadir='${datarootdir}'
  datarootdir='${prefix}/share'
  docdir='${datarootdir}/doc/${PACKAGE}'
  dvidir='${docdir}'
  enable_autogen=''
  enable_cache_oblivious=''
  enable_cxx='no'
  enable_debug=''
  enable_doc='no'
  enable_experimental_smallocx=''
  enable_fill=''
  enable_initial_exec_tls=''
  enable_lazy_lock=''
  enable_log=''
  enable_opt_safety_checks=''
  enable_opt_size_checks=''
  enable_prof=''
  enable_readlinkat=''
  enable_shared='no'
  enable_static=''
  enable_stats='no'
  enable_tls=''
  enable_uaf_detection=''
  enable_utrace=''
  enable_xmalloc=''
  enable_zone_allocator=''
  exe=''
  exec_prefix='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out'
  host='aarch64-unknown-linux-gnu'
  host_alias='aarch64-unknown-linux-gnu'
  host_cpu=''
  host_os=''
  host_vendor=''
  htmldir='${docdir}'
  importlib=''
  includedir='${prefix}/include'
  infodir='${datarootdir}/info'
  install_suffix=''
  je_=''
  jemalloc_version=''
  jemalloc_version_bugfix=''
  jemalloc_version_gid=''
  jemalloc_version_major=''
  jemalloc_version_minor=''
  jemalloc_version_nrev=''
  libdir='${exec_prefix}/lib'
  libdl=''
  libexecdir='${exec_prefix}/libexec'
  libprefix=''
  link_whole_archive=''
  localedir='${datarootdir}/locale'
  localstatedir='${prefix}/var'
  mandir='${datarootdir}/man'
  o=''
  objroot=''
  oldincludedir='/usr/include'
  pdfdir='${docdir}'
  prefix='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out'
  private_namespace=''
  program_transform_name='s,x,x,'
  psdir='${docdir}'
  rev='2'
  sbindir='${exec_prefix}/sbin'
  sharedstatedir='${prefix}/com'
  so=''
  srcroot=''
  sysconfdir='${prefix}/etc'
  target_alias=''

  ## ----------- ##
  ## confdefs.h. ##
  ## ----------- ##

  /* confdefs.h */
  #define PACKAGE_NAME ""
  #define PACKAGE_TARNAME ""
  #define PACKAGE_VERSION ""
---
  configure: error: C compiler cannot create executables
  See `config.log' for more details

  thread 'main' (82481) panicked at /rust/deps/tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/build.rs:388:9:
  command did not execute successfully: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build" && CC="clang" CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46" CPPFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46" LDFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46" "sh" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out/build/configure" "--with-version=5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-lg-page=16" "--with-private-namespace=_rjem_" "--disable-stats" "--host=aarch64-unknown-linux-gnu" "--build=aarch64-unknown-linux-gnu" "--prefix=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-90350423cbb17a9c/out"
  expected success, got: exit status: 77
  stack backtrace:
     0:     0xab40dfad290c - std::backtrace_rs::backtrace::libunwind::trace::ha2a6846b16319113
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0xab40dfad290c - std::backtrace_rs::backtrace::trace_unsynchronized::hc8f38ed0f8843a9d
---
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/panicking.rs:834:13
    12:     0xab40dfab7144 - std::panicking::panic_handler::{{closure}}::h782dcd4141bb77ed
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/panicking.rs:707:13
    13:     0xab40dfab3efc - std::sys::backtrace::__rust_end_short_backtrace::h69515d9f6ecb4746
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/sys/backtrace.rs:174:18
    14:     0xab40dfa9fdb4 - __rustc[93c9ee72cfce0a1e]::rust_begin_unwind
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/panicking.rs:698:5
    15:     0xab40dfae6fcc - core::panicking::panic_fmt::h4431bdab830a7b01
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/core/src/panicking.rs:75:14
    16:     0xab40dfa461f8 - build_script_build::execute::h14773711d80f3861
    17:     0xab40dfa41dd8 - build_script_build::run_and_log::h3ca87afd7b17441d
    18:     0xab40dfa455ac - build_script_build::main::hb426c75742791b78
    19:     0xab40dfa47e48 - core::ops::function::FnOnce::call_once::h419fe8109fb5bcf6
    20:     0xab40dfa47988 - std::sys::backtrace::__rust_begin_short_backtrace::hb0a59b30d35cbe26
    21:     0xab40dfa47904 - std::rt::lang_start::{{closure}}::h487b2e7a9c504879
    22:     0xab40dfaaaab8 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h48e7f2442201f444
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/core/src/ops/function.rs:290:21
    23:     0xab40dfaaaab8 - std::panicking::catch_unwind::do_call::hc8b64c736a6da7f4
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/panicking.rs:590:40
    24:     0xab40dfaaaab8 - std::panicking::catch_unwind::h2692e09ed35a7e58
                                 at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/library/std/src/panicking.rs:553:19
---
   1: std::backtrace_rs::backtrace::trace_unsynchronized
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2: std::backtrace::Backtrace::create
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/backtrace.rs:331:13
   3: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.99/src/backtrace.rs:27:14
   4: <opt_dist::exec::CmdBuilder>::run
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/exec.rs:80:17
   5: <opt_dist::exec::Bootstrap>::run
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/exec.rs:199:18
   6: opt_dist::execute_pipeline::{closure#1}::{closure#0}
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/main.rs:256:21
   7: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#0}, ()>
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/timer.rs:111:22
   8: opt_dist::execute_pipeline::{closure#1}
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/main.rs:245:15
   9: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, opt_dist::training::RustcPGOProfile>
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/timer.rs:111:22
  10: opt_dist::execute_pipeline
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/main.rs:242:35
  11: opt_dist::main
             at /rustc/5c6570ca9cb3d8ac9a88933b08a0b7c0f3ccad46/src/tools/opt-dist/src/main.rs:467:18
  12: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/core/src/ops/function.rs:253:5
  13: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/sys/backtrace.rs:158:18
  14: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/rt.rs:206:18
  15: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/core/src/ops/function.rs:290:21
  16: std::panicking::catch_unwind::do_call
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/panicking.rs:589:40
  17: std::panicking::catch_unwind
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/panicking.rs:552:19

@bors
Copy link
Collaborator

bors commented Sep 5, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 5, 2025
@tgross35 tgross35 closed this Sep 5, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-tidy Area: The tidy tool rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants